package com.zs.admin.validate.qd;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.util.Date;
import java.util.Date;
import com.zs.common.validator.annotation.IDMust;

/**
 * 题目表参数
 * @author SwAdmin
 */
@Data
@ApiModel("题目表更新参数")
public class QdQuestUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "学段")
    private Integer section;

    @ApiModelProperty(value = "年级")
    private Integer grade;

    @ApiModelProperty(value = "科目")
    private Integer subject;

    @ApiModelProperty(value = "难度id")
    private Integer diff;

    @ApiModelProperty(value = "题型id")
    private Integer type;

    @ApiModelProperty(value = "题干")
    private String question;

    @ApiModelProperty(value = "答案")
    private String answer;

    @ApiModelProperty(value = "详解")
    private String explain;

    @ApiModelProperty(value = "知识点id,多个用英文逗号隔开")
    private String knowledge;

    @ApiModelProperty(value = "0自建 1导学 2学科")
    private Integer source;

    @ApiModelProperty(value = "源id")
    private String sourceId;

    @ApiModelProperty(value = "题目状态")
    private Integer status;

}
